package com.zbkj.crmeb.store.request;

import com.zbkj.crmeb.store.model.StoreProductAttr;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class SupplierProductRequest implements Serializable {

    @ApiModelProperty(value = "商品id")
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private List<Integer> ids;

    @ApiModelProperty(value = "酒类商品酒庄")
    private String winery;

    @ApiModelProperty(value = "酒类商品年份")
    private String productYear;

    @ApiModelProperty(value = "酒类商品葡萄品种")
    private String grapeVariety;

    @ApiModelProperty(value = "商品图片")
    @NotBlank(message = "商拼图片不能为空")
    private String image;

    @ApiModelProperty(value = "轮播图")
    @NotBlank(message = "轮播图不能为空")
    private String sliderImage;

    @ApiModelProperty(value = "商品名称")
    @NotBlank(message = "商品名称不能为空")
    private String storeName;

    @ApiModelProperty(value = "商品简介")
    //@NotBlank(message = "商品简介不能为空")
    private String storeInfo;

    @ApiModelProperty(value = "关键字")
    @NotBlank(message = "国际编码不能为空")
    private String keyword;

    @ApiModelProperty(value = "分类id")
    @NotNull(message = "分类id不能为空")
    private Integer cateId;

    @ApiModelProperty(value = "品牌ID")
    @NotNull(message = "品牌id不能为空")
    private Integer brandId;

    @ApiModelProperty(value = "单位名")
    @NotNull(message = "单位名称不能为空")
    private String unitName;

    @ApiModelProperty(value = "状态（0：下架，1：上架）")
    private Boolean isShow;

    @ApiModelProperty(value = "商品条码（一维码）")
    private String barCode;

    @ApiModelProperty(value = "运费模板ID")
    private Integer tempId;

    @ApiModelProperty(value = "规格 0单 1多")
    private Boolean specType;

    @ApiModelProperty(value = "成分")
    private String composition;

    @ApiModelProperty(value = "规格")
    private String dimension;

    @ApiModelProperty(value = "色号")
    private String colorCode;

    @ApiModelProperty(value = "季节代码")
    private String seasonCode;

    @ApiModelProperty(value = "商品属性")
    private List<StoreProductAttr> attr;

    @ApiModelProperty(value = "商品属性详情")
    private List<StoreProductAttrValueRequest> attrValue;

    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "产地")
    private String productionPlace;

    @ApiModelProperty(value = "商品信息")
    private String productInformation;

    @ApiModelProperty(value = "官网实拍")
    private String gwpp1;
    
    @ApiModelProperty(value = "官网模特图")
    private String gwmt1;
    
    @ApiModelProperty(value = "店拍实拍")
    private String sp1;
    
    @ApiModelProperty(value = "自有实拍")
    private String sp;
    
    @ApiModelProperty(value = "店拍模特")
    private String mt1;
    
    @ApiModelProperty(value = "自有模特图")
    private String mt;
    
    @ApiModelProperty(value = "明星海报图 ")
    private String mx1;
    
    @ApiModelProperty(value = "自拍视频")
    private String sp2;
    
    @ApiModelProperty(value = "店拍视频")
    private String sp3;

}